package com.ssy.wireless.mapper;

import com.ssy.wireless.entity.ApDeviceTrafficStat;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ApDeviceTrafficStatMapper {

    int insert(ApDeviceTrafficStat record);

    int selectHourExist(@Param("hour") int hour);

    List<ApDeviceTrafficStat> selectStatistics(@Param("params") Map<String, Object> params);
}